import request from '@/utils/request'

// 获取反馈列表
export function getFeedbacks(params) {
  return request({
    url: '/api/teacher/feedbacks',
    method: 'get',
    params
  })
}

// 回复反馈
export function replyFeedback(id, replyContent) {
  return request({
    url: `/api/teacher/feedbacks/${id}/reply`,
    method: 'post',
    params: { replyContent }
  })
} 